package com.uton.rfidcontroller.view.activity.write.prescan;

import com.uton.rfidcontroller.R;
import com.uton.rfidcontroller.common.rfid.UfhData;
import com.uton.rfidcontroller.databinding.ActivityFinalReadBinding;
import com.uton.rfidcontroller.view.base.BaseActivity;
import com.uton.rfidcontroller.viewmodel.activity_model.FinalReadActivityViewModel;

/**
 * Created by 王家宝 on 2017/10/16.
 * Email:639586819@qq.com
 * Tel:18241150668
 */

public class FinalReadActivity extends BaseActivity<ActivityFinalReadBinding, FinalReadActivityViewModel> {

    @Override
    protected int setLayout() {
        return R.layout.activity_final_read;
    }

    @Override
    protected void inject() {
        getBinding().setModel(getViewModel());
    }

    @Override
    protected String setTitle() {
        return getString(R.string.ui_input);
    }

    @Override
    protected void doSomething() {

    }

    @Override
    protected FinalReadActivityViewModel setViewModel() {
        return new FinalReadActivityViewModel(UfhData.getUfh_id());
    }
}
